<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>登录</title>

<%@include file="bt.jsp"%>
<style>
body {
	background-color:#ffc0a1;
}
.btn-primary{
	background-color: orange;
    border-color: orange;
}
.list-group-item.active{
	background-color: orange;
    border-color: orange;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle{
background-color: orange;
    border-color: orange;
}
</style>

</head>
<body>
	<div class="container">
        <!------------ 导航栏  -------------->
		<%@ include file="navBar.jsp"%>

		
					
		<div class="row">
			<div class="col-md-2" style="padding-top: 10px;">
			<%@ include	file="left.jsp"%></div>
			<!------------ 中间内容  -------------->

			<div class="col-md-8" style="padding-top: 10px;">
				<div class="card">
					<div class="card-header">机构登录
  <a class="btn btn-secondary dropdown-toggle" href="#" role="button" 
  id="dropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" 
  aria-expanded="false" style="margin-left:20px">
    机构登录
  </a>

  <div class="dropdown-menu" aria-labelledby="dropdownMenuLink">
    <a class="dropdown-item" href="${pageContext.request.contextPath}/Login">个人用户登录</a>
    <a class="dropdown-item" href="${pageContext.request.contextPath}/insLogin">机构登录</a>
  </div>
					</div>
					<div class="card-body">
					
						<p>${info}</p>
					
						<!-- 登录表单 -->
						<form method="post" action="insLoginAction">
						<div class="row">
								<div class="col-md-2">
									<img class="mb-4" src="img/logo.png" alt="" width="100"
										>
								</div>
								<div class="col-md-4"
									style="padding-top: 30px; padding-left: 30px">
									<h1 class="h3 mb-3 font-weight-normal">请登录</h1>
								</div>
							</div>
							<div class="form-group row">
								<label for="inputEmail3" class="col-sm-3 col-form-label">账号：</label>
								<div class="col-sm">
									<input type="text" class="form-control" id="userID"
										name="inname" value="${c_inname}"
										placeholder="请输入账号（机构名）">
								</div>
							</div>
							<div class="form-group row">
								<label for="inputPassword3" class="col-sm-3 col-form-label">密码：</label>
								<div class="col-sm">
									<input type="password" class="form-control" id="password"
										name="inpsw"
										placeholder="请输入密码">
								</div>
							</div>
							
							<div class="form-group row">
								<label for="inputPassword3" class="col-sm-3 col-form-label">验证码：</label>
								<div class="col-sm-6">
									<img alt="" src="ResponseImage">
									<input type="text" class="form-control" id="inputPassword3"
										name="uvcode"
										placeholder="请输入验证码">
								</div>
							</div>
							
							<div class="form-group row">
								<div class="col-sm-10">
									<button type="submit" class="btn btn-primary">登录</button>
								</div>
							</div>
						</form>

						<h5 class="card-title">关于本站</h5>
						<p class="card-text">让点滴爱汇聚，让爱的人回家。</p>
						<a href="index.jsp" class="btn btn-primary">返回首页</a>
					</div>
				</div>
			</div>
			
			<div class="col-md-2" style="padding-top: 10px;"><%@ include
					file="right.jsp"%></div>
		</div>

				<div class="row">
			<div class="col-md-3">
			<%@include file="infoCol.jsp"%>
			</div>
			<div class="col-md-3">
			<%@include file="infoCol.jsp"%>
			</div>
			<div class="col-md-3">
			<%@include file="infoCol.jsp"%>
			</div>
		</div>
	</div>
</body>
</html>